package com.blue.integration.serve.local;

import com.blue.core.id.IdGenerator;
import com.blue.integration.serve.SmsClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 本地发送短信接口（不发送）
 *
 * @author zhengjin
 * @since 1.0 2018年06月12日
 */
public class LocalSmsClient implements SmsClient
{
	private static Logger logger = LoggerFactory.getLogger(LocalSmsClient.class);
	
	public LocalSmsClient()
	{
	}

	@Override
	public String sendValid(String mobile, String num)
	{
		logger.info("{} 发送短信验证码：{}", mobile, num);
		return IdGenerator.uuid12bit();
	}
}
